Data Processing
epub, mobi, pdf | eng | 2016-12-06 | Author: Jake VanderPlas In[11]: plt.imshow(I, cmap=plt.cm.get_cmap('Blues', 6)) plt.colorbar() plt.clim(-1, 1); Figure 4-56. A discretized colormap The discrete version of a colormap can be used just like any other colormap. Example: Handwritten Digits For ...
( Category: May 19,2019 )
epub, pdf | eng | 2019-02-13 | Author: Arjuna Sky Kok def fillPosts(self, posts): self.clearTweetsField() for post in posts: label_field = QtWidgets.QLabel(post) self.tweets_layout.addWidget(label_field) The same strategy is used in the two following methods. We clear the bookmark widgets from the bookmarks ...
( Category: May 4,2019 )
epub, pdf | eng | 2019-11-24 | Author: Aileen Nielsen [Aileen Nielsen] Scatter plots The traditional method of using scatter plots is just as useful for time series data as it is for other kinds of data. We can use scatter plots ...
( Category: May 3,2019 )
epub | | | Author: Machine Learning in Python Our tree has an accuracy of 0.838 on the training set. But remember that this is not a good indicator. This is especially true for decision trees as this method ...
( Category: May 3,2019 )
epub | eng | 2019-03-29 | Author: Krish Naik portfolio_returns=[] portfolio_volatilities=[] for x in range(1000): weights=np.random.random(num_assets) weights/=np.sum(weights) portfolio_returns.append(np.sum(weights*log_returns.mean())*250) portfolio_volatilities.append(np.sqrt(np.dot(weights.T,np.dot(log_returns.cov(),weights)))) portfolio_returns,portfolio_volatilities The output generated is shown in the following screenshot: In the loop, we are generating two weights, whose sums ...
( Category: May 3,2019 )
epub | eng | 2019-02-26 | Author: Fabian Hueske Implementing Operator List State with the ListCheckpointed Interface Operator state is managed per parallel instance of an operator. All events that are processed in the same parallel task of an ...
( Category: May 2,2019 )
epub | eng | 2019-03-28 | Author: Tony Holdroyd import numpy as np import matplotlib.pyplot as plt %matplotlib inline Preprocessing the data Then, we load the data. For this application, we will use the fashion_mnist dataset, which was designed ...
( Category: April 30,2019 )
mobi | eng | 2018-08-07 | Author: Eve Porcello and Alex Banks npm remove apollo-server Then, let’s install Apollo Server Express and Express: npm install apollo-server-express express Express Express is by far one of the most popular projects in the Node.js ecosystem. ...
( Category: April 18,2019 )
epub | eng | 2018-08-07 | Author: Eve Porcello & Alex Banks var photos = [ { ... "created": "3-28-1977" }, { ... "created": "1-2-1985" }, { ... "created": "2018-04-15T19:09:57.308Z" } ] Now, when we add DateTime fields to our selection sets, ...
( Category: April 18,2019 )
epub | eng | 2018-12-27 | Author: Raúl Estrada Before continuing to write code, let's remember the project requirements for the Kioto stream processing engine. Putting it all together, the specification is to create a stream engine that does ...
( Category: April 17,2019 )